<?php
/**
 * Template Name: create_index
 *
 * @var unknown_type
 */
	$smarty = smarty_get_instance ();
	
	
	$sencond_left = htmlReplace(1,2);
	$sencond_right = htmlReplace(2,4);
	$sencond_left_bu = htmlReplace(3,2);
	
	$smarty->assign ( "sencond_left", $sencond_left );
	$smarty->assign ( "sencond_right", $sencond_right );
	$smarty->assign ( "sencond_left_bu", $sencond_left_bu );
 
	
	
	$content = $smarty->fetch ("index.tpl");
	
	$fp = fopen ( "/home/uujog/UUJOG.COM/wp-content/themes/uujog/index.html", "w" );
	fwrite ( $fp, $content );
	fclose ( $fp );
?>